#ifndef __MYSEM_H__
#define __MYSEM_H__

typedef void mysem_t;

extern mysem_t *mysem_init(int initval);

extern int mysem_add(mysem_t *ptr, int n);
extern int mysem_sub(mysem_t *ptr, int n);

extern int mysem_destroy(mysem_t *ptr);
#endif// __MYSEM_H__
